Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

The QuickTime VR Sample Description Structure

Whereas the QuickTime VR media sample is simply the node information itself, all sample descriptions are required by QuickTime to have a certain structure for the first several bytes. The structure for the QuickTime VR sample description is as follows.

typedef struct QTVRSampleDescription {
    UInt32                              size;
    UInt32                              type;
    UInt32                              reserved1;
    UInt16                              reserved2;
    UInt16                              dataRefIndex;
    UInt32                              data;
} QTVRSampleDescription, *QTVRSampleDescriptionPtr, **QTVRSampleDescriptionHandle;
size
The size, in bytes, of the sample description header structure, including the VR world atom container contained in the data field.
type
The sample description type. For QuickTime VR movies, this type should be 'qtvr' .
reserved1
Reserved. This field must be 0.
reserved2
Reserved. This field must be 0.
dataRefIndex
Reserved. This field must be 0.
data
The VR world atom container. The sample description structure is extended to hold this atom container.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |